package com.zt.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName card_binding
 */
@TableName(value ="card_binding")
@Data
public class CardBinding implements Serializable {
    /**
     * 绑卡id
     */
    @TableId(type = IdType.AUTO)
    private Integer bindingId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 卡号
     */
    private String cardNumber;

    /**
     * 状态（0：一类卡 1：二类卡）
     */
    private Integer cardType;

    /**
     * 绑卡日期
     */
    private Date bindingDate;

    /**
     * 余额
     */
    private Integer bankNumber;
    //余额
    private Integer balance;

//    /**
//     * 银行卡密码
//     */
//    @TableField(exist = false)
//    private Integer bankNumber;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}